<template>
<a-result
    status="success"
    title="更新成功"
    :sub-title="route.params.resMessage"
>
<template #extra>
  <a-button key="console" type="primary" @click="re">返回</a-button>
</template>
</a-result>
</template>

<script setup>

import {useRoute, useRouter} from "vue-router";
import {useStore} from "vuex";

const router=useRouter()
const route=useRoute()
const store=useStore()

const re=()=>{
  store.getters.getIsReturn.isRe=false
  router.push('/admin/essay')
}

</script>